#!/bin/bash

if [[ "$SOURCE_BRANCH" = "develop" ]]; then
    # add -t flag to checkout.sh and update image dependencies
    sed -i "s|/checkout.sh|/checkout.sh -d|g; s|sim/|simdev/|g; s|:[0-9]*\.[0-9]*\.[0-9]*|:develop|g" \
        Dockerfile
fi
